package com.qls.mt.biz.data.service;

import com.qls.core.dto.PushHotelBody;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


/**
 * @author Administrator
 */
@Service
public interface InsertHtService {

    /**
     * 酒店信息存库
     *
     * @param pushHotelBody PushHotelBody
     */
    void insertHtHotelinfo(PushHotelBody pushHotelBody, Map<String, Object> map);

    /**
     * 房型信息存库
     *
     * @param pushHotelBody PushHotelBody
     * @return List<Long>
     */
    List<Long> insertHtPhyicalRoom(PushHotelBody pushHotelBody, Map<String, Object> map);

    /**
     * rp信息存库
     *
     * @param pushHotelBody PushHotelBody
     * @param listRoom      List<Long>
     * @return List<Long>
     */
    List<Long> insertLogicRoom(PushHotelBody pushHotelBody, List<Long> listRoom, Map<String, Object> map);

    /**
     * 价格信息存库
     *
     * @param pushHotelBody PushHotelBody
     * @param rpCodes       List<Long>
     */
    void rates(PushHotelBody pushHotelBody, List<Long> rpCodes, Map<String, Object> map);

    /**
     * 所有酒店Id
     *
     * @param dtId Integer
     */
    void repeat(Integer dtId);

}
